package fair.entity;

import lombok.Data;

/**
 * @author: Jingtao_Wu
 * @DATE: 2021-03-01 18:12
 **/
@Data
public class PageResult {
    private Integer errCode;
    private String errMsg;
    private Object info;
    private Integer total;

    public PageResult(Integer errCode, String errMsg, Object info, Integer total) {
        this.errCode = errCode;
        this.errMsg = errMsg;
        this.info = info;
        this.total = total;
    }

    public PageResult(Integer errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
